package com.xdjmall.dao;

import java.sql.SQLException;
import java.util.List;

import com.xdjmall.entity.OrderItem;

public interface OrderItemDao extends BaseDao<OrderItem>{
	 //根据订单id获取订单项列表
    List<OrderItem> selectByOrderId(Long orderId) throws SQLException;
    //根据订单ids获取订单项列表
    List<OrderItem> selectByOrderIds(List<Integer> orderIds)throws SQLException;
    // 批量insert订单项数据
    Integer insertBatch(List<OrderItem> orderItems)throws SQLException;
}
